package com.baidu.mapapi;

public class GeoPoint
{
  private int a;
  private int b;

  GeoPoint(double paramDouble1, double paramDouble2)
  {
    this((int)(paramDouble1 * 1000000.0D), (int)(paramDouble2 * 1000000.0D));
  }

  public GeoPoint(int paramInt1, int paramInt2)
  {
    this.a = paramInt1;
    this.b = paramInt2;
  }

  public boolean equals(Object paramObject)
  {
    int i;
    if (paramObject == null)
      i = 0;
    while (true)
    {
      while (true)
      {
        while (true)
        {
          return i;
          if (paramObject.getClass() == super.getClass())
            break;
          i = 0;
        }
        if ((this.a != ((GeoPoint)paramObject).a) || (this.b != ((GeoPoint)paramObject).b))
          break;
        i = 1;
      }
      i = 0;
    }
  }

  public int getLatitudeE6()
  {
    return this.a;
  }

  public int getLongitudeE6()
  {
    return this.b;
  }

  public int hashCode()
  {
    return toString().hashCode();
  }

  public void setLatitudeE6(int paramInt)
  {
    this.a = paramInt;
  }

  public void setLongitudeE6(int paramInt)
  {
    this.b = paramInt;
  }

  public String toString()
  {
    return "GeoPoint: Latitude: " + this.a + ", Longitude: " + this.b;
  }
}